package com.ctgu.tengyun.dao.mybatis;

import com.ctgu.tengyun.domain.SaleOrderProductRecord;
import com.ctgu.tengyun.domain.SaleOrderProductRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SaleOrderProductRecordMapper {
    int countByExample(SaleOrderProductRecordExample example);

    int insert(SaleOrderProductRecord record);

    int insertSelective(SaleOrderProductRecord record);

    List<SaleOrderProductRecord> selectByExample(SaleOrderProductRecordExample example);

    SaleOrderProductRecord selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SaleOrderProductRecord record, @Param("example") SaleOrderProductRecordExample example);

    int updateByExample(@Param("record") SaleOrderProductRecord record, @Param("example") SaleOrderProductRecordExample example);

    int updateByPrimaryKeySelective(SaleOrderProductRecord record);

    int updateByPrimaryKey(SaleOrderProductRecord record);
}